package com.hd.dao;

import com.hd.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface LoginDao extends JpaRepository<User,Long> {
    //    根据用户名查询
    public User findByUsername(String name);
}
